function checkOnesSegment(s: string): boolean {
    return !s.includes('01');
}
